/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package spaceinvaders;

import java.awt.Point;

/**
 *
 * @author jorge
 */
public class Terricola extends Figura
{
    private String forma = "000000010000000000000111000000000000111000000011111111111110111111111111111111111111111111111111111111111011111111111111";
    private Point coordenadaDisparo;

    public Terricola(Point punto)
    {
        super(punto, 8, 15);
        super.darForma(this.forma);

        this.coordenadaDisparo = new Point();
        setCoordenadaDisparo();
    }

    @Override
    public void cambiarForma()
    {
    }

    public Point getCoordenadaDisparo()
    {
        return this.coordenadaDisparo;
    }

    public void setCoordenadaDisparo()
    {
        this.coordenadaDisparo.setLocation(super.coordenada.x + 5, super.coordenada.y);
    }
}
